import request from "@/utils/request";
import store from "@/store";

//获取登录用户信息
export function getLoginUserInfo() {
    return request({
        url: '/users/login-info',
        method: 'get',
        headers: {
            'Authorization': store.getters.getToken
        }
    })
}